package com.itqn.dao;

import com.itqn.pojo.Member;

import java.util.List;

public interface MemberDao {

    //查询单个的方法
    Member findById(int id) throws Exception;

    //添加的方法
    int addProduct(Member member) throws Exception;

    //修改的方法
    int updateMember(Member member);

    List query(String name, String cartNumber, Integer totalAmount, Integer pageSize, Integer page) throws Exception;

    Integer totalCount(String name, String cartNumber, Integer totalAmount) throws Exception;

    void updateStatic(Member member) throws Exception;
}
